<template>
	<view></view>
</template>

<script>
import { mapActions } from 'vuex';
export default {
	async onLoad(e) {
	
	var host=this.$store.state.common.hostDomain;
		await this.loginAction(host);
		
		uni.switchTab({
			url: "../index"
		});
	},
	methods: {	
		...mapActions('user', ['loginAction'])
	}
};
</script>

<style></style>
